DATE_TIME='{{ ansible_date_time.iso8601 }}'
HOST_PRIVATE_IP='{{ inventory_hostname }}'
WECUBE_RELEASE_VERSION='{{ wecube_release_version }}'
WECUBE_SETTINGS='{{ wecube_settings }}'
WECUBE_HOME='{{ wecube_home }}'
WECUBE_USER='{{ wecube_user }}'
INITIAL_PASSWORD='{{ initial_password }}'
USE_MIRROR_IN_MAINLAND_CHINA='{{ use_mirror_in_mainland_china }}'

PORTAL_ENTRYPOINT='{{ lb_vip }}'
GATEWAY_ENTRYPOINT='{{ lb_vip }}'

CORE_HOST='{{ groups[platform_group_name][0] }}'
S3_HOST='{{ groups[platform_s3_group_name][0] }}'
PLUGIN_HOST='{{ groups[plugin_hosting_group_name][0] }}'

CORE_DB_HOST='{{ groups[platform_db_group_name][0] }}'
CORE_DB_PORT=3307
CORE_DB_NAME=wecube
CORE_DB_USERNAME=root
CORE_DB_PASSWORD='{{ initial_password }}'

AUTH_SERVER_DB_HOST='{{ groups[platform_db_group_name][0] }}'
AUTH_SERVER_DB_PORT=3307
AUTH_SERVER_DB_NAME=auth_server
AUTH_SERVER_DB_USERNAME=root
AUTH_SERVER_DB_PASSWORD='{{ initial_password }}'

PLUGIN_DB_HOST='{{ groups[plugin_db_group_name][0] }}'
PLUGIN_DB_PORT=3307
PLUGIN_DB_NAME=mysql
PLUGIN_DB_USERNAME=root
PLUGIN_DB_PASSWORD='{{ initial_password }}'

S3_ACCESS_KEY=access_key
S3_SECRET_KEY=secret_key
AGENT_S3_BUCKET_NAME=wecube-agent
ARTIFACTS_S3_BUCKET_NAME=wecube-artifacts
